import request from '@/utils/request.js'

export function getFriendList(data){
	return request({
		url:'/im/friend/list',
		method:'get',
		data:data
	})
}

export function queryUserListInSameGroup(nickName){
	return request({
		url:'/im/friend/queryUserListInSameGroup?nickName='+nickName,
		method:'get'
	})
}


export function queryUserListInMessage(){
	return request({
		url:'/im/friend/queryUserListInMessage',
		method:'get'
	})
}

export function queryFriendUserInfo(userId){
	return request({
		url:'/im/friend/queryFriendUserInfo/' + userId,
		method:'get'
	})
}